package org.jeecg.modules.demo.jieshouzhibiaodaibanbiao.service.impl;

import org.jeecg.modules.demo.jieshouzhibiaodaibanbiao.entity.Jieshouzhibiaodaibanbiao;
import org.jeecg.modules.demo.jieshouzhibiaodaibanbiao.mapper.JieshouzhibiaodaibanbiaoMapper;
import org.jeecg.modules.demo.jieshouzhibiaodaibanbiao.service.IJieshouzhibiaodaibanbiaoService;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

/**
 * @Description: 接收指标代办表
 * @Author: jeecg-boot
 * @Date:   2025-09-03
 * @Version: V1.0
 */
@Service
public class JieshouzhibiaodaibanbiaoServiceImpl extends ServiceImpl<JieshouzhibiaodaibanbiaoMapper, Jieshouzhibiaodaibanbiao> implements IJieshouzhibiaodaibanbiaoService {
    //接收任务
    @Override
    public void jieshouTask(String id) {
        Jieshouzhibiaodaibanbiao jieshouzhibiaodaibanbiao = new Jieshouzhibiaodaibanbiao();
        jieshouzhibiaodaibanbiao.setId(id);
        jieshouzhibiaodaibanbiao.setZhuangtai("接收");
        this.updateById(jieshouzhibiaodaibanbiao);
    }
    //驳回任务
    @Override
    public void bohuiTask(String id) {
        Jieshouzhibiaodaibanbiao jieshouzhibiaodaibanbiao = new Jieshouzhibiaodaibanbiao();
        jieshouzhibiaodaibanbiao.setId(id);
        jieshouzhibiaodaibanbiao.setZhuangtai("驳回");
        this.updateById(jieshouzhibiaodaibanbiao);
    }
}
